package com.example.houseman.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.houseman.entity.TbRoomInfo;
import com.example.houseman.mapper.TbRoomInfoMapper;
import com.example.houseman.service.ITbRoomInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.org.dto.TbRoomInfoDto;
import com.org.vo.ResultEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-31
 */
@Service
public class TbRoomInfoServiceImpl extends ServiceImpl<TbRoomInfoMapper, TbRoomInfo> implements ITbRoomInfoService {


    @Autowired
    private TbRoomInfoMapper roomInfoMapper;

    @Override
    public Page<TbRoomInfo> getList(QueryWrapper<TbRoomInfo> wrapper, Page<TbRoomInfo> page) {
        return roomInfoMapper.getList(wrapper,page);
    }
}
